using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour
{
    private GameObject cube;

    void Start()
    {
        cube = GameObject.Find("Cube");
    }

    void Update()
    {
        cube.transform.Rotate(0f, 1f, 0f);
    }
}